package com.gxxy.spring.kp03_aop.cls02_aop.s02_annotation;

import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.test.context.ContextConfiguration;
import org.springframework.test.context.junit4.SpringJUnit4ClassRunner;


@RunWith(SpringJUnit4ClassRunner.class)
@ContextConfiguration
public class AOPAnnotationTest {
	
	@Autowired
	IStudentService service;
	
	@Test
	public void testAOPAnnotation() throws Exception {
		service.update(new Student("Larry", 28));
	}
	
}
